//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package ciicos.point.model.pointnode;

import ciicos.util.GeneraterSwapUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Date;

public class PointNodeInfoVO {
    @JsonProperty("id")
    private String id;
    @JsonProperty("roleid")
    private String roleid;
    @JsonProperty("creatoruserid")
    private String creatoruserid;
    @JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss",
        timezone = "GMT+8"
    )
    @JsonProperty("creatortime")
    private Date creatortime;
    @JsonProperty("jsonparam")
    private String jsonparam;

    public void getRoleid(String roleid) {
        this.roleid = GeneraterSwapUtil.convertValueToString(roleid, false, false);
    }

    public String getId() {
        return this.id;
    }

    public String getRoleid() {
        return this.roleid;
    }

    public String getCreatoruserid() {
        return this.creatoruserid;
    }

    public Date getCreatortime() {
        return this.creatortime;
    }

    public String getJsonparam() {
        return this.jsonparam;
    }

    @JsonProperty("id")
    public void setId(String id) {
        this.id = id;
    }

    @JsonProperty("roleid")
    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    @JsonProperty("creatoruserid")
    public void setCreatoruserid(String creatoruserid) {
        this.creatoruserid = creatoruserid;
    }

    @JsonFormat(
        pattern = "yyyy-MM-dd HH:mm:ss",
        timezone = "GMT+8"
    )
    @JsonProperty("creatortime")
    public void setCreatortime(Date creatortime) {
        this.creatortime = creatortime;
    }

    @JsonProperty("jsonparam")
    public void setJsonparam(String jsonparam) {
        this.jsonparam = jsonparam;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof PointNodeInfoVO)) {
            return false;
        } else {
            PointNodeInfoVO other = (PointNodeInfoVO)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$id = this.getId();
                Object other$id = other.getId();
                if (this$id == null) {
                    if (other$id != null) {
                        return false;
                    }
                } else if (!this$id.equals(other$id)) {
                    return false;
                }

                Object this$roleid = this.getRoleid();
                Object other$roleid = other.getRoleid();
                if (this$roleid == null) {
                    if (other$roleid != null) {
                        return false;
                    }
                } else if (!this$roleid.equals(other$roleid)) {
                    return false;
                }

                Object this$creatoruserid = this.getCreatoruserid();
                Object other$creatoruserid = other.getCreatoruserid();
                if (this$creatoruserid == null) {
                    if (other$creatoruserid != null) {
                        return false;
                    }
                } else if (!this$creatoruserid.equals(other$creatoruserid)) {
                    return false;
                }

                Object this$creatortime = this.getCreatortime();
                Object other$creatortime = other.getCreatortime();
                if (this$creatortime == null) {
                    if (other$creatortime != null) {
                        return false;
                    }
                } else if (!this$creatortime.equals(other$creatortime)) {
                    return false;
                }

                Object this$jsonparam = this.getJsonparam();
                Object other$jsonparam = other.getJsonparam();
                if (this$jsonparam == null) {
                    if (other$jsonparam != null) {
                        return false;
                    }
                } else if (!this$jsonparam.equals(other$jsonparam)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof PointNodeInfoVO;
    }

    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = this.getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $roleid = this.getRoleid();
        result = result * 59 + ($roleid == null ? 43 : $roleid.hashCode());
        Object $creatoruserid = this.getCreatoruserid();
        result = result * 59 + ($creatoruserid == null ? 43 : $creatoruserid.hashCode());
        Object $creatortime = this.getCreatortime();
        result = result * 59 + ($creatortime == null ? 43 : $creatortime.hashCode());
        Object $jsonparam = this.getJsonparam();
        result = result * 59 + ($jsonparam == null ? 43 : $jsonparam.hashCode());
        return result;
    }

    public String toString() {
        return "PointNodeInfoVO(id=" + this.getId() + ", roleid=" + this.getRoleid() + ", creatoruserid=" + this.getCreatoruserid() + ", creatortime=" + this.getCreatortime() + ", jsonparam=" + this.getJsonparam() + ")";
    }
}
